﻿<Control:UserControlBase x:Class="Module.Main.View.MainView"
    xmlns:Control="clr-namespace:Wpf.Core.Control;assembly=Wpf.Core"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:Module.Main.View"
    mc:Ignorable="d" d:DataContext="{d:DesignInstance local:MainViewModel}" d:DesignHeight="300" d:DesignWidth="500"
    UniqueId="{Binding ViewUniqueId, Mode=OneWayToSource}">

    <Control:UserControlBase.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Module.Main;component/Resource/MainResource.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Control:UserControlBase.Resources>

    <Grid>
        <Image Source="{StaticResource MainBackGround}" Stretch="Fill" />        
        <TextBlock Text="Main module loaded" Foreground="Black" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Calibri" FontSize="24" FontWeight="Bold"></TextBlock>
    </Grid>
    
</Control:UserControlBase>
